/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jse;

import java.util.HashMap;

/**
 *
 * @author WangShuai
 */
public class GenericsTest {
    
    //Use on method
    public static <K, V> HashMap<K, V> newInstance() {
        return new HashMap<K, V>();
    }
}
